#ifndef __APP_LOG_H__
#define __APP_LOG_H__

//Support write log
//	LOGI: Infomation log info
//	LOGW: Warning log info
//	LOGE: Error log info

#	define	LOGI(...)	{printf("INFO> "); printf(__VA_ARGS__);}
#	define	LOGW(...)	{printf("WARN> "); printf(__VA_ARGS__);}
#	define	LOGE(...)	{printf("ERRO> "); printf(__VA_ARGS__);}

//#define _DEBUG_LOG
//Debug log
#ifdef _DEBUG_LOG
#	define	LOGIDBG(...)	LOGI(__VA_ARGS__)
#	define	LOGWDBG(...)	LOGW(__VA_ARGS__)
#	define	LOGEDBG(...)	LOGE(__VA_ARGS__)
#else
#	define	LOGIDBG(...)
#	define	LOGWDBG(...)
#	define	LOGEDBG(...)
#endif

#endif